//
//  gouwucartModel.m
//  YaoHeAPP
//
//  Created by xyh on 16/3/15.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "gouwucartModel.h"

@implementation gouwucartModel
-(id)initWith:(NSDictionary*)dic
{
    self = [super init];
    if (self)
    {
        self.PRODUCT_ID=dic[@"PRODUCT_ID"];
        self.USEABLE_QUANTITY=dic[@"USEABLE_QUANTITY"];
        
        self.REFERENCE_THICK=dic[@"REFERENCE_THICK"];
        self.SUPPLIER_NAME=dic[@"SUPPLIER_NAME"];
        self.SURFACE_CODE=dic[@"SURFACE_CODE"];
        self.QUANTITY=dic[@"QUANTITY"];
        self.MANUFACTURER_NAME=dic[@"MANUFACTURER_NAME"];
        self.SHAPE=dic[@"SHAPE"];
        self.SPEC_CODE=dic[@"SPEC_CODE"];
        self.CATEGORY_NAME=dic[@"CATEGORY_NAME"];
        self.MANUFACTURER_ID=dic[@"MANUFACTURER_ID"];
        self.EDGE_NAME=dic[@"EDGE_NAME"];
        self.PARENT_NAME=dic[@"PARENT_NAME"];
        self.LEVEL_NAME=dic[@"LEVEL_NAME"];
        self.PACKAGE_TYPE=dic[@"PACKAGE_TYPE"];
        
        self.HOUSE_NAME=dic[@"HOUSE_NAME"];
        self.PRICE_UNIT=dic[@"PRICE_UNIT"];
        self.DISCOUNT_PRICE=dic[@"DISCOUNT_PRICE"];
        self.USEABLE_WEIGHT=dic[@"USEABLE_WEIGHT"];
        self.MATERIAL_CODE=dic[@"MATERIAL_CODE"];
        self.SALES_PROMOTION=dic[@"SALES_PROMOTION"];
        self.SUPPLIER_ID=dic[@"SUPPLIER_ID"];
        
        self.isSelected=dic[@"isSelected"];
        
        self.PRODUCT_STATUS=dic[@"PRODUCT_STATUS"];
        
        self.TotalWeight=dic[@"TotalWeight"];
        self.UnitWeight=dic[@"UnitWeight"];
        self.SHOW_NAME=dic[@"SHOW_NAME"];
        
        
    }
    return self;
}

@end
